![]() |
Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
|
Data Fields | |
| quaternion_type | DefaultQuaternionPacketType |
| volatile quaternion_type | QuaternionPacketType |
| volatile uint8_t | AngularVelocityPacketOn |
| volatile uint8_t | DebugPacketOn |
| volatile uint8_t | RPCPacketOn |
| volatile uint8_t | AltPacketOn |
| volatile int8_t | AccelCalPacketOn |
| writePort_t * | write |
| streamData_t * | stream |
The ControlSubsystem encapsulates command and data streaming functions for the library. A C++-like typedef structure which includes executable methods for the subsystem is defined here.
| volatile int8_t AccelCalPacketOn |
variable used to coordinate accelerometer calibration
Definition at line 71 of file control.h.
Referenced by CreateAndSendPackets(), DecodeCommandBytes(), initializeControlPort(), initializeFusionEngine(), and initializeSensors().
| volatile uint8_t AltPacketOn |
flag to enable altitude packet
Definition at line 70 of file control.h.
Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().
| volatile uint8_t AngularVelocityPacketOn |
flag to enable angular velocity packet
Definition at line 67 of file control.h.
Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().
| volatile uint8_t DebugPacketOn |
flag to enable debug packet
Definition at line 68 of file control.h.
Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().
| quaternion_type DefaultQuaternionPacketType |
default quaternion transmitted at power on
Definition at line 65 of file control.h.
Referenced by initializeControlPort(), and initializeFusionEngine().
| volatile quaternion_type QuaternionPacketType |
quaternion type transmitted over UART
Definition at line 66 of file control.h.
Referenced by ApplyPerturbation(), CreateAndSendPackets(), DecodeCommandBytes(), initializeControlPort(), and initializeFusionEngine().
| volatile uint8_t RPCPacketOn |
flag to enable roll, pitch, compass packet
Definition at line 69 of file control.h.
Referenced by CreateAndSendPackets(), DecodeCommandBytes(), and initializeControlPort().
| streamData_t* stream |
function to create packets for serial stream
Definition at line 73 of file control.h.
Referenced by fusion_task(), initializeControlPort(), main(), and read_task().
| writePort_t* write |
low level function to write a char buffer to the serial stream
Definition at line 72 of file control.h.
Referenced by CreateAndSendPackets(), and initializeControlPort().